package com.chuan.it_market.service;

import com.chuan.it_market.pojo.dto.ResponseDTO;
import com.chuan.it_market.pojo.entity.UserOrder;
import com.chuan.it_market.pojo.vo.UserOrderVO;

import java.util.List;

public interface OrderService {
    int insert(UserOrder userOrder);

    List<UserOrderVO> orderList(Integer usreId);

    int receive(Integer ono);

    int back(Integer ono);

    int delete1(Integer ono);

    int delete2(Integer ono);

    List <UserOrderVO> selectOrderByStatus(String status,Integer bno);

    int receive1(Integer ono);

    int back1(Integer ono);

    int back2(Integer ono);

    List<UserOrderVO> orderList2(Integer usreId);

    ResponseDTO Statistics(Integer usreId);
}
